/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.fjs.liyq.entity;

import java.io.Serializable;

/**
 *
 * @author danny
 */
public class Product implements Serializable {
    private Long epId;

    private String epName;
    private String epDescription;
    private Double epPrice;
    private Integer epStock;
    private Long epcId;
    private String epFileName;

    @Override
    public boolean equals(Object obj) {
        Product op = (Product) obj;
        if (op == null)
            return false;
        else {
            return epId.equals(op.getEpId());
        }
    }
    /**
     * @return the epId
     */
    public Long getEpId() {
        return epId;
    }

    /**
     * @param epId the epId to set
     */
    public void setEpId(Long epId) {
        this.epId = epId;
    }

    /**
     * @return the epName
     */
    public String getEpName() {
        return epName;
    }

    /**
     * @param epName the epName to set
     */
    public void setEpName(String epName) {
        this.epName = epName;
    }

    /**
     * @return the epDescription
     */
    public String getEpDescription() {
        return epDescription;
    }

    /**
     * @param epDescription the epDescription to set
     */
    public void setEpDescription(String epDescription) {
        this.epDescription = epDescription;
    }

    /**
     * @return the epPrice
     */
    public Double getEpPrice() {
        return epPrice;
    }

    /**
     * @param epPrice the epPrice to set
     */
    public void setEpPrice(Double epPrice) {
        this.epPrice = epPrice;
    }

    /**
     * @return the epStock
     */
    public Integer getEpStock() {
        return epStock;
    }

    /**
     * @param epStock the epStock to set
     */
    public void setEpStock(Integer epStock) {
        this.epStock = epStock;
    }

    /**
     * @return the epcId
     */
    public Long getEpcId() {
        return epcId;
    }

    /**
     * @param epcId the epcId to set
     */
    public void setEpcId(Long epcId) {
        this.epcId = epcId;
    }

    /**
     * @return the epFileName
     */
    public String getEpFileName() {
        return epFileName;
    }

    /**
     * @param epFileName the epFileName to set
     */
    public void setEpFileName(String epFileName) {
        this.epFileName = epFileName;
    }
}
